<form id="pagerForm" action="__URL__" method="post">
	<input type="hidden" name="pageNum" value="1"/>
</form>

<div class="page">
<div class="pageHeader">
		<form onsubmit="return navTabSearch(this);" action="__URL__" method="post">
		<input type="hidden" name="pageNum" value="1"/>
		<div class="searchBar">
			<ul class="searchContent">
				<li>
					<label>模块分类：</label>
					
					<SELECT name="pid">
					<option value="-1" >全部</option>
					<volist name="p_list" id="vo">
					<if condition="$pid eq $vo.pid ">
					<option value="{%$vo.pid%}" selected="selected">{%$vo.pid|getModelName%}</option>
					<else/>
					<option value="{%$vo.pid%}" >{%$vo.pid|getModelName%}</option>
					</if>
					</volist>
				   </SELECT>
				  
				</li>
			</ul>
			<div class="subBar"> 
				<div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div>
			</div>
		</div>
		</form>
	</div>

	<div class="pageContent">
		<div class="panelBar">
			<ul class="toolBar">
				<eq name="opt.add" value="true"><li><a class="add" href="__URL__/add" target="dialog" mask="true" width="590" height="335"><span>新增</span></a></li></eq>
				<eq name="opt.edit" value="true"><li><a class="edit" href="__URL__/edit/id/{%sid_node%}" target="dialog" width="590" mask="true" warn="请选择一条记录"><span>修改</span></a></li></eq>
				<eq name="opt.foreverdelete" value="true"><li><a class="delete" href="__URL__/foreverdelete/id/{%sid_node%}/navTabId/__MODULE__" target="navTabTodo" calback="navTabAjaxMenu" title="你确定要删除吗？" warn="请选择一条记录"><span>删除</span></a></li></eq>
				<li><a class="add" href="__URL__/index/pid/{%$Think.get.pid|getParentNodeId%}/" target="navTab" rel="__MODULE__"><span>返回上层</span></a></li>
			</ul>
		</div>


		<table class="list" width="100%" layoutH="52">
			<thead>
			<tr>
				<th width="60">编号</th>
				<th width="100">名称</th>
				<th>显示名</th>
				<th width="100">模块</th>				
				<th width="100">状态</th>
				<th width="100">操作</th>
			</tr>
			</thead>
			<tbody>
			<volist id="vo" name="list">
				<tr target="sid_node" rel="{%$vo['id']%}">
					<td>{%$vo['id']%}</td>
					<td><egt name="level" value="2">{%$vo['name']%}<else/><a href="__URL__/index/pid/{%$vo['id']%}/" target="navTab" rel="__MODULE__">{%$vo['name']%}</a></egt></td>
					<td>{%$vo['title']%}</td>
					<td>{%$vo['pid']|getModelName%}</td>
					<td>{%$vo['status']|getStatus%}</td>
					<td>{%$vo['status']|showStatus=$vo['id'],''%} <a href="__URL__/edit/id/{%$vo['id']%}" target="dialog" width="560">编辑</a></td>
				</tr>
			</volist>
			</tbody>
		</table>

		<div class="panelBar">
			<div class="pages">
				<span>共{%$totalCount%}条</span>
			</div>
			<div class="pagination" targetType="navTab" totalCount="{%$totalCount%}" numPerPage="{%$numPerPage%}" pageNumShown="10" currentPage="{%$currentPage%}"></div>
		</div>
	</div>
</div>
